package com.iqiyi.dbagent.model;

import java.io.Serializable;
import java.nio.file.Path;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.iqiyi.dbagent.base.config.CommParme.DEALBEFORE;
import com.iqiyi.dbagent.base.config.CommParme.DEALTYPE;

/**
 * @Title: DealBefore.java
 * @Package com.iqiyi.dbagent.model
 * @Description: 处理前
 * @author wangnianming
 * @date 2015年11月19日 下午5:48:58
 * @version V1.0
 */
public class DealBefore implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 处理数据类型决定处理方式 */
	private DEALTYPE dealType;

	/** 处理输入路径 */
	private Path inputPath;

	/** 处理输出路径 */
	private Path outpuPath;
	
	/** 初始化 */
	private DEALBEFORE dealBrfore;
	
	/** 日志记录器 */
	private static final Logger logger = LoggerFactory.getLogger(DealBefore.class);

	
	/**
	 * @return the dealType
	 */
	public DEALTYPE getDealType() {
	    logger.info("dealType: {}",dealType);
		return dealType;
	}

	/**
	 * @param dealType
	 *            the dealType to set
	 */
	public void setDealType(DEALTYPE dealType) {
		this.dealType = dealType;
	}

	/**
	 * @return the inputPath
	 */
	public Path getInputPath() {
		return inputPath;
	}

	/**
	 * @param inputPath
	 *            the inputPath to set
	 */
	public void setInputPath(Path inputPath) {
		this.inputPath = inputPath;
	}

	/**
	 * @return the outpuPath
	 */
	public Path getOutpuPath() {
		return outpuPath;
	}

	/**
	 * @param outpuPath
	 *            the outpuPath to set
	 */
	public void setOutpuPath(Path outpuPath) {
		this.outpuPath = outpuPath;
	}
	/**
     * @return the dealBrfore
     */
    public DEALBEFORE getDealBrfore() {
        return dealBrfore;
    }
    /**
     * @param dealBrfore
     *            the dealBrfore to set
     */
    public void setDealBrfore(DEALBEFORE dealBrfore) {
        this.dealBrfore = dealBrfore;
    }
}
